<template>
  <a-table
    ref="table"
    size="middle"
    bordered
    :columns="columns"
    :pagination="false"
    :dataSource="dataSource">
  </a-table>
</template>

<script>
import EpaWeekly from "../../../../myService/EpaWeekly";

export default {
  name: "Step3",
  data(){
    return{
      dataSource:[],
      columns: [
        {
          title:'问题属地',
          align:"center",
          dataIndex: 'area'
        },
        {
          title:'受理件(件)',
          align:"center",
          dataIndex: 'orderNum'
        },
        {
          title:'重复件',
          align:"center",
          dataIndex: 'repeatNum'
        },
      ],
    }
  },
  methods:{
    loading(){
      let date=sessionStorage.getItem('date');
      EpaWeekly.getEpaArea({date:date}).then((res)=>{
        console.log("ddsdsdsd")
        console.log(res)
        this.dataSource=res.result;
        console.log(this.dataSource)
      })
    }
  }
}
</script>

<style scoped>

</style>